﻿using Amiable.Adapter.Kum;
using Amiable.Adapter.MQ;
using Amiable.SDK;
using Amiable.Adapters.Kum;
using Amiable.Adapters.MQ;
using Amiable.Adapters.XQ;
using Amiable.Adapters.LYP;
using Amiable.Adapters.Xlz;

namespace Amiable.Core
{
    public static partial class AmiableService
    {

        /// <summary>
        /// 设置App信息
        /// </summary>
        public static void SetAppInfo()
        {
            App.AppInfo = new AppInfo
            {
                Name = "Ami签到",
                Author = "Heer Kaisair",
                Version = "1.0.0",
                Description = "Ami·签到插件·简约·自定义",
                AppId = "top.amiable.checkin"
            };


        }

        /// <summary>
        /// 对AppService的建造
        /// </summary>
        /// <param name="service"></param>
        public static void ServiceBuilder(AppService service)
        {
            
            //添加对这些框架的API包装器
            service.AddMQConfig().AddKumConfig().AddXQConfig().AddXlzConfig().AddLypConfig();
        }
    }
}
